package com.dylan.channel.v11.handler;

public abstract class SimpleChannelInboundHandler extends ChannelInboundHandlerAdapter {
    @Override
    public void channelRead(ChannelHandlerContext ctx, Object object) {
        channelRead0(ctx, object);
        ctx.fireChannelRead(object);
    }

    /***
     * @Author dylan
     * @Description: 真正得处理方法
     * @Create: 2024/9/20 17:18
     */
    protected abstract void channelRead0(ChannelHandlerContext ctx, Object object);
}
